using System.ComponentModel.DataAnnotations.Schema;
using System.ComponentModel.DataAnnotations;
namespace ShopForWeb.Models
{
  /// <summary>
  /// 管理员
  /// </summary>
  [Table("T_Manager")]
  public class Manager
  {
    [Key]
    [DatabaseGenerated(DatabaseGeneratedOption.Identity)]
    public int ManagerID { get; set; }
    [StringLength(11)]
    public string Phone { get; set; } = "";
    public string Password { get; set; } = "";
    public string Name { get; set; } = "";
    public string Sex { get; set; } = "";


    public virtual ICollection<Order> Orders { get; set; } = new List<Order>();

  }
}
